package it.koutifaris.travianmap.info;

import static it.koutifaris.testforclassutils.IsTestForAssert.assertIsTestFor;
import it.koutifaris.travianmap.model.Tribe;
import junit.framework.Assert;
import android.test.AndroidTestCase;

public class TroopsTest extends AndroidTestCase {

	@Override
	protected void setUp() throws Exception {
	}

	public void testPkgAndName() {
		assertIsTestFor(Troops.class);
	}

	public void testRomans() {
		Assert.assertEquals(10, Troops.troops().getTroopsOfTribe(Tribe.ROMAN).size());
	}

	public void testGauls() {
		Assert.assertEquals(10, Troops.troops().getTroopsOfTribe(Tribe.GAUL).size());
	}

	public void testTeutons() {
		Assert.assertEquals(10, Troops.troops().getTroopsOfTribe(Tribe.TEUTON).size());
	}

	public void testNature() {
		Assert.assertEquals(10, Troops.troops().getTroopsOfTribe(Tribe.NATURE).size());
	}

	public void testNatars() {
		Assert.assertEquals(10, Troops.troops().getTroopsOfTribe(Tribe.NATARS).size());
	}
}
